package com.ruiaa.meeting.service;

import com.ruiaa.meeting.common.CommonResponse;
import com.ruiaa.meeting.model.MeetingRoom;
import java.util.List;

/**
 * @author chenhuaiyi
 * @date 2022-11-05 15:30
 */
public interface MeetingRoomService {

    CommonResponse<MeetingRoom> openMeetingRoom(Integer roomId);

    CommonResponse<MeetingRoom> closeMeetingRoom(Integer roomId);

    CommonResponse<List<MeetingRoom>> getAllMeetingRooms();

    CommonResponse<MeetingRoom> getMeetingRoomById(Integer roomId);

    CommonResponse<Object> addMeetingRoom(MeetingRoom meetingRoom);

    CommonResponse<Object> deleteMeetingRoomById(Integer roomId);

    CommonResponse<MeetingRoom> updateMeetingRoom(Integer roomId,Integer state,Integer number,String roomName);

}
